package com.ydh.company.pojo;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.sql.Timestamp;

@ApiModel(value = "Opportunity商机表的实体")
public class Opportunity {

  @ApiModelProperty(name = "opportunityId",notes = "商机表id（UUID）",dataType = "String",required = true)
  private String opportunityId;

  @ApiModelProperty(name = "opportunityCompany",notes = "商机公司名称",dataType = "String",required = true)
  private String opportunityCompany;

  @ApiModelProperty(name = "opportunityName",notes = "商机联系人",dataType = "String",required = true)
  private String opportunityName;

  @ApiModelProperty(name = "opportunityTel",notes = "联系电话",dataType = "String",required = true)
  private String opportunityTel;

  @ApiModelProperty(name = "address",notes = "地址",dataType = "String",required = true)
  private String address;

  @ApiModelProperty(name = "opportunityReason",notes = "加盟原因",dataType = "String",required = true)
  private String opportunityReason;

  @ApiModelProperty(name = "opportunityStatus",notes = "状态（0：待审核  1：已通过  2 : 已拒绝） ",dataType = "int",required = true)
  private int opportunityStatus;

  @ApiModelProperty(name = "createTime",notes = "创建时间",dataType = "Timestamp",required = true)
  private Timestamp createTime;

  @ApiModelProperty(name = "condition",notes = "条件实体类对象",dataType = "Condition")
  private Condition condition;

  public Condition getCondition() {
    return condition;
  }

  public void setCondition(Condition condition) {
    this.condition = condition;
  }

  public String getOpportunityId() {
    return opportunityId;
  }

  public void setOpportunityId(String opportunityId) {
    this.opportunityId = opportunityId;
  }

  public String getOpportunityCompany() {
    return opportunityCompany;
  }

  public void setOpportunityCompany(String opportunityCompany) {
    this.opportunityCompany = opportunityCompany;
  }

  public String getOpportunityName() {
    return opportunityName;
  }

  public void setOpportunityName(String opportunityName) {
    this.opportunityName = opportunityName;
  }

  public String getOpportunityTel() {
    return opportunityTel;
  }

  public void setOpportunityTel(String opportunityTel) {
    this.opportunityTel = opportunityTel;
  }

  public String getAddress() {
    return address;
  }

  public void setAddress(String address) {
    this.address = address;
  }

  public String getOpportunityReason() {
    return opportunityReason;
  }

  public void setOpportunityReason(String opportunityReason) {
    this.opportunityReason = opportunityReason;
  }

  public int getOpportunityStatus() {
    return opportunityStatus;
  }

  public void setOpportunityStatus(int opportunityStatus) {
    this.opportunityStatus = opportunityStatus;
  }

  public Timestamp getCreateTime() {
    return createTime;
  }

  public void setCreateTime(Timestamp createTime) {
    this.createTime = createTime;
  }
}
